import { request } from '@/utils/request'

export function listYiFanShang(data) {
  return request({
    url: '/v1/garage-kit/yifanshang/list',
    method: 'GET',
    data
  })
}

export function loadYiFanShangDetail(data) {
  return request({
    url: '/v1/garage-kit/yifanshang/detail',
    method: 'GET',
    data
  })
}

export function listYiFanShangRecords(data) {
  return request({
    url: '/v1/garage-kit/yifanshang/records',
    method: 'GET',
    data
  })
}

export function listYiFanShangBoxes(data) {
  return request({
    url: '/v1/garage-kit/yifanshang/boxes',
    method: 'get',
    data
  })
}

export function listYiFanShangRemain(data) {
  return request({
    url: '/v1/garage-kit/yifanshang/remain',
    method: 'get',
    data
  })
}

export function listYiFanShangCountRanking(data) {
  return request({
    url: '/v1/garage-kit/yifanshang/rank/count',
    method: 'get',
    data
  })
}

export function listYiFanShangWorthRanking(data) {
  return request({
    url: '/v1/garage-kit/yifanshang/rank/worth',
    method: 'get',
    data
  })
}

export function loadYiFanShangRemainCount(data) {
  return request({
    url: '/v1/garage-kit/yifanshang/remain/count',
    method: 'get',
    data
  })
}
